package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.ApiResult;
import com.example.entity.User;
import com.example.vo.ForgotPwdVO;
import com.example.vo.UserVO;

public interface UserService extends IService<User> {
    /**
     * 客户端用户注册
     */
    public boolean register(String phoneNumber,String password,String nickName);

    /**
     * 管理端管理员登录
     */
    public ApiResult adminLogin(UserVO userVO);


    /**
     * 客户端忘记密码
     */
    public ApiResult forgotPassword(ForgotPwdVO forgotPwdVO);
}
